package com.ctshk.rpc.goods.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * <p>
 *     运费详情DTO对象
 * </p>
 * @author 黄先
 */
@Data
@ApiModel(value = "RegionalFreightDTO对象", description = "运费详情对象")
public class RegionalFreightDTO implements Serializable {
    @ApiModelProperty(value = "ID")
    private Long id;

    @ApiModelProperty(value = "运费模板id")
    private Long templateId;

    @ApiModelProperty(value = "多区域ID与名称JSON数组")
    private String regionIdAndNameJsonList;

    @ApiModelProperty(value = "区域id")
    private Long regionId;

    @ApiModelProperty(value = "区域名称")
    private String regionName;

    @ApiModelProperty(value = "首件（首重）")
    private Double firstArticle;

    @ApiModelProperty(value = "运费金额")
    private BigDecimal freightAmount;

    @ApiModelProperty(value = "续件（续重)")
    private Double continuation;

    @ApiModelProperty(value = "续费")
    private BigDecimal renewAmount;
}
